﻿using System.ComponentModel.DataAnnotations;

namespace Isha.Entities
{
    public class ContentType
    {
        [Key]
        public int ContentTypeID { get; set; }

        [Required]
        public string Title { get; set; }

        [MaxLength(30)]
        public string Description { get; set; }
      
        public bool IsPublic { get; set; }

        [MaxLength(100)]       
        public string CanHold { get; set; }

        [StringLength(50)]
        public string Controller { get; set; }

        [StringLength(50)]
        public string Action { get; set; }

        [MaxLength(30)]
        public string View { get; set; }
    }
}